<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加分类</title>
	<link rel="icon" href="__IMAGES__/logo.ico">
	<link rel="stylesheet" href="__CSS__/addCategory.css">
	<link rel="stylesheet" href="__CSS__/categoryheader.css">
</head>
<body>
<include file="Category/header"/>
			<div class="f-r">
				<div class="addCategory">
					<div class="f-r-h">
						添加分类
					</div>
					<form method="post">
						<div class="form-l">
							<label for="name">分类名称:</label>
							<label for="parent_id">父分类(不选则默认为顶级分类):</label>
							<label for="category_describe">分类描述:</label>
							<label for="sort">分类排序(首页分类的显示顺序,默认0):</label>
							<label for="active">是否上架(默认上架):</label>
						</div>
						<div class="form-r">
							<div>
								<input type="text" name="name" id="name">
								<span class="nameerror"></span>
							</div>
							<select name="parent_id" id="parent_id">
								<option value="0">顶级分类</option>
								<volist name="categorys" id="vo">
									<option value="{$vo.id}">{$vo.name}</option>
								</volist>
							</select>
							<input type="text" class="desc" name="category_describe" id="category_describe">
							<input type="number" class="sort" name="sort" id="sort" value="0" min="0" max="100">
							<select name="active" id="active">
								<option value="0">不上架</option>
								<option value="1" selected="selected" >上架</option>
							</select>
							<input type="submit" name="sub" value="添加" onclick="return myConfirm();">
						</div>
						<div class="clearfix"></div>
					</form>
				</div>
			</div>
<script src="__JS__/addCategory.js"></script>
<include file="Category/footer"/>
